package com.lyl.controller;

import com.lyl.model.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.Authorization;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lylbell
 * @date 2021-06-26 14:00
 */
@RestController
@Api(tags = "会员管理系统搭建测试")
public class MemberTestController {

    @GetMapping("/test")
    @ApiOperation(value = "测试会员系统是否搭建成功",authorizations = @Authorization("token"))
    public Result<String> testMember() {
        return Result.ok("会员系统搭建成功");
    }
}
